package com.atguigu.schedule.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 人脸检测记录实体类
 */
@Data
@NoArgsConstructor
public class FaceDetectionRecord {
    
    private Long id;
    
    private String username;
    
    private BigDecimal confidence;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime detectionTime;
    
    private String imagePath;
    
    private String videoSource;
    
    private String sessionId;
    
    private Integer faceX;
    
    private Integer faceY;

    private Integer faceWidth;
    
    private Integer faceHeight;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
    
}
